/*
   方法封装使用
 */
public class MothodDemo07 {
    public static void main(String[] args) {

    }
    public static int sum(int num1,int num2){
        int sum = num1 + num2;
        return sum;
    }
    public static boolean isSame(int num1,int num2){
        boolean isSame = (num1 == num2);
        return isSame;
    }
}
